package pl.edu.agh.pros.proxy.model;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class AppConfiguration implements Serializable {

	private static final long serialVersionUID = -4719575015016091730L;

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key key;

	@Persistent
	private Key providerKey;

	@Persistent
	private String name;

	@Persistent
	private String providerAppKey;

	@Persistent
	private String clientAppKey;

	@Persistent
	private Key xmppServerConfigurationKey;

	public Key getKey() {
		return key;
	}

	public void setKey(Key key) {
		this.key = key;
	}

	public Key getProviderKey() {
		return providerKey;
	}

	public void setProviderKey(Key providerKey) {
		this.providerKey = providerKey;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProviderAppKey() {
		return providerAppKey;
	}

	public void setProviderAppKey(String providerAppKey) {
		this.providerAppKey = providerAppKey;
	}

	public String getClientAppKey() {
		return clientAppKey;
	}

	public void setClientAppKey(String clientAppKey) {
		this.clientAppKey = clientAppKey;
	}

	public Key getXmppServerConfigurationKey() {
		return xmppServerConfigurationKey;
	}

	public void setXmppServerConfigurationKey(Key xmppServerConfigurationKey) {
		this.xmppServerConfigurationKey = xmppServerConfigurationKey;
	}

}
